// SPDX-License-Identifier: MIT

.html-editor:use-local-url {
  .color-picker.html-editor-foreground {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Text-Color.png");
  }

  .color-picker.html-editor-background {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Background-Color.png");
  }

  .html-editor-cut {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Cut.png");
  }

  .html-editor-copy {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Copy.png");
  }

  .html-editor-paste {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Paste.png");
  }

  .html-editor-align-left {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Left.png");
  }

  .html-editor-align-center {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Center.png");
  }

  .html-editor-align-right {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Right.png");
  }

  .html-editor-align-justify {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Justify.png");
  }

  .html-editor-outdent {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Outdent.png");
  }

  .html-editor-outdent:dir(rtl) {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Outdent-rtl.png");
  }

  .html-editor-indent {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Indent.png");
  }

  .html-editor-indent:dir(rtl) {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Indent-rtl.png");
  }

  .html-editor-bullets {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bullets.png");
  }

  .html-editor-bullets:dir(rtl) {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bullets-rtl.png");
  }

  .html-editor-numbers {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Numbered.png");
  }

  .html-editor-numbers:dir(rtl) {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Numbered-rtl.png");
  }

  .html-editor-bold {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bold.png");
  }

  .html-editor-italic {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Italic.png");
  }

  .html-editor-underline {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Underline.png");
  }

  .html-editor-strike {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Strikethrough.png");
  }

  .html-editor-hr {
    -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Break.png");
  }
}

.root:dark {
  .html-editor:use-local-url {
    .color-picker.html-editor-foreground {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Text-Color-White.png");
    }

    .color-picker.html-editor-background {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Background-Color-White.png");
    }

    .html-editor-cut {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Cut-White.png");
    }

    .html-editor-copy {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Copy-White.png");
    }

    .html-editor-paste {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Paste-White.png");
    }

    .html-editor-align-left {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Left-White.png");
    }

    .html-editor-align-center {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Center-White.png");
    }

    .html-editor-align-right {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Right-White.png");
    }

    .html-editor-align-justify {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Justify-White.png");
    }

    .html-editor-outdent {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Outdent-White.png");
    }

    .html-editor-outdent:dir(rtl) {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Outdent-White-rtl.png");
    }

    .html-editor-indent {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Indent-White-White.png");
    }

    .html-editor-indent:dir(rtl) {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Indent-White-rtl.png");
    }

    .html-editor-bullets {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bullets-White.png");
    }

    .html-editor-bullets:dir(rtl) {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bullets-White-rtl.png");
    }

    .html-editor-numbers {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Numbered-White.png");
    }

    .html-editor-numbers:dir(rtl) {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Numbered-White-rtl.png");
    }

    .html-editor-bold {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Bold-White.png");
    }

    .html-editor-italic {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Italic-White.png");
    }

    .html-editor-underline {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Underline-White.png");
    }

    .html-editor-strike {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Strikethrough-White.png");
    }

    .html-editor-hr {
      -fx-graphic: url("/atlantafx/sampler/images/modena/HTMLEditor-Break-White.png");
    }
  }
}